2025-03-05 15:18:42,700 INFO mapreduce.MiniHadoopClusterManager: Updated 0 configuration settings from command line. 2025-03-05 15:18:42,754 INFO hdfs.MiniDFSCluster: starting cluster: numNameNodes=1, numDataNodes=1 2025-03-05 15:18:43,144 INFO namenode.NameNode: Formatting using clusterid: testClusterID 2025-03-05 15:18:43,158 INFO namenode.FSEditLog: Edit logging is async:true 2025-03-05 15:18:43,179 INFO namenode.FSNamesystem: KeyProvider: null 2025-03-05 15:18:43,180 INFO namenode.FSNamesystem: fsLock is fair: true 2025-03-05 15:18:43,180 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2025-03-05 15:18:43,206 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2025-03-05 15:18:43,206 INFO namenode.FSNamesystem: supergroup = supergroup 2025-03-05 15:18:43,206 INFO namenode.FSNamesystem: isPermissionEnabled = true 2025-03-05 15:18:43,206 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2025-03-05 15:18:43,207 INFO namenode.FSNamesystem: HA Enabled: false 2025-03-05 15:18:43,254 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2025-03-05 15:18:43,257 INFO Configuration.deprecation: hadoop.configured.node.mapping is deprecated. Instead, use net.topology.configured.node.mapping 2025-03-05 15:18:43,258 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2025-03-05 15:18:43,258 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2025-03-05 15:18:43,261 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2025-03-05 15:18:43,261 INFO blockmanagement.BlockManager: The block deletion will start around 2025 Mar 05 15:18:43 2025-03-05 15:18:43,262 INFO util.GSet: Computing capacity for map BlocksMap 2025-03-05 15:18:43,262 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:43,263 INFO util.GSet: 2.0% max memory 7.7 GB = 156.7 MB 2025-03-05 15:18:43,263 INFO util.GSet: capacity = 2^24 = 16777216 entries 2025-03-05 15:18:43,289 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2025-03-05 15:18:43,289 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2025-03-05 15:18:43,293 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: defaultReplication = 1 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: maxReplication = 512 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: minReplication = 1 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2025-03-05 15:18:43,294 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2025-03-05 15:18:43,310 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2025-03-05 15:18:43,310 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2025-03-05 15:18:43,310 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2025-03-05 15:18:43,310 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2025-03-05 15:18:43,318 INFO util.GSet: Computing capacity for map INodeMap 2025-03-05 15:18:43,318 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:43,318 INFO util.GSet: 1.0% max memory 7.7 GB = 78.3 MB 2025-03-05 15:18:43,318 INFO util.GSet: capacity = 2^23 = 8388608 entries 2025-03-05 15:18:43,329 INFO namenode.FSDirectory: ACLs enabled? true 2025-03-05 15:18:43,329 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2025-03-05 15:18:43,329 INFO namenode.FSDirectory: XAttrs enabled? true 2025-03-05 15:18:43,330 INFO namenode.NameNode: Caching file names occurring more than 10 times 2025-03-05 15:18:43,333 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2025-03-05 15:18:43,334 INFO snapshot.SnapshotManager: SkipList is disabled 2025-03-05 15:18:43,338 INFO util.GSet: Computing capacity for map cachedBlocks 2025-03-05 15:18:43,338 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:43,338 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2025-03-05 15:18:43,338 INFO util.GSet: capacity = 2^21 = 2097152 entries 2025-03-05 15:18:43,347 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2025-03-05 15:18:43,347 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2025-03-05 15:18:43,347 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2025-03-05 15:18:43,350 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2025-03-05 15:18:43,350 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2025-03-05 15:18:43,351 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2025-03-05 15:18:43,351 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:43,351 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2025-03-05 15:18:43,352 INFO util.GSet: capacity = 2^18 = 262144 entries 2025-03-05 15:18:43,372 INFO namenode.FSImage: Allocated new BlockPoolId: BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:43,385 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-1 has been successfully formatted. 2025-03-05 15:18:43,389 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-2 has been successfully formatted. 2025-03-05 15:18:43,435 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 using no compression 2025-03-05 15:18:43,439 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 using no compression 2025-03-05 15:18:43,549 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2025-03-05 15:18:43,550 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2025-03-05 15:18:43,563 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2025-03-05 15:18:43,610 INFO namenode.FSNamesystem: Stopping services started for active state 2025-03-05 15:18:43,611 INFO namenode.FSNamesystem: Stopping services started for standby state 2025-03-05 15:18:43,612 INFO namenode.NameNode: createNameNode [] 2025-03-05 15:18:43,654 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2025-03-05 15:18:43,730 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2025-03-05 15:18:43,730 INFO impl.MetricsSystemImpl: NameNode metrics system started 2025-03-05 15:18:43,758 INFO namenode.NameNodeUtils: fs.defaultFS is hdfs://127.0.0.1:12222 2025-03-05 15:18:43,758 INFO namenode.NameNode: Clients should use 127.0.0.1:12222 to access this namenode/service. 2025-03-05 15:18:43,798 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2025-03-05 15:18:43,806 INFO hdfs.DFSUtil: Filter initializers set : org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.hdfs.web.AuthFilterInitializer 2025-03-05 15:18:43,809 INFO hdfs.DFSUtil: Starting Web-server for hdfs at: http://localhost:0 2025-03-05 15:18:43,818 INFO util.log: Logging initialized @1632ms to org.eclipse.jetty.util.log.Slf4jLog 2025-03-05 15:18:43,881 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2025-03-05 15:18:43,885 INFO http.HttpRequestLog: Http request log for http.requests.namenode is not defined 2025-03-05 15:18:43,892 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2025-03-05 15:18:43,894 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context hdfs 2025-03-05 15:18:43,894 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2025-03-05 15:18:43,895 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2025-03-05 15:18:43,897 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context hdfs 2025-03-05 15:18:43,897 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context logs 2025-03-05 15:18:43,897 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context static 2025-03-05 15:18:43,925 INFO http.HttpServer2: addJerseyResourcePackage: packageName=org.apache.hadoop.hdfs.server.namenode.web.resources;org.apache.hadoop.hdfs.web.resources, pathSpec=/webhdfs/v1/* 2025-03-05 15:18:43,933 INFO http.HttpServer2: Jetty bound to port 40071 2025-03-05 15:18:43,933 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.24+8-post-Ubuntu-1ubuntu322.04 2025-03-05 15:18:43,954 INFO server.session: DefaultSessionIdManager workerName=node0 2025-03-05 15:18:43,954 INFO server.session: No SessionScavenger set, using defaults 2025-03-05 15:18:43,955 INFO server.session: node0 Scavenging every 600000ms 2025-03-05 15:18:43,965 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2025-03-05 15:18:43,967 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@6aa648b9{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2025-03-05 15:18:43,968 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@23aae55{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2025-03-05 15:18:44,039 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@7a18e8d{hdfs,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs} 2025-03-05 15:18:44,051 INFO server.AbstractConnector: Started ServerConnector@1654a892{HTTP/1.1, (http/1.1)}{localhost:40071} 2025-03-05 15:18:44,052 INFO server.Server: Started @1865ms 2025-03-05 15:18:44,056 INFO namenode.FSEditLog: Edit logging is async:true 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: KeyProvider: null 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: fsLock is fair: true 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: supergroup = supergroup 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: isPermissionEnabled = true 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2025-03-05 15:18:44,070 INFO namenode.FSNamesystem: HA Enabled: false 2025-03-05 15:18:44,071 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2025-03-05 15:18:44,071 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2025-03-05 15:18:44,071 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2025-03-05 15:18:44,071 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2025-03-05 15:18:44,071 INFO blockmanagement.BlockManager: The block deletion will start around 2025 Mar 05 15:18:44 2025-03-05 15:18:44,071 INFO util.GSet: Computing capacity for map BlocksMap 2025-03-05 15:18:44,071 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:44,072 INFO util.GSet: 2.0% max memory 7.7 GB = 156.7 MB 2025-03-05 15:18:44,072 INFO util.GSet: capacity = 2^24 = 16777216 entries 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: defaultReplication = 1 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: maxReplication = 512 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: minReplication = 1 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2025-03-05 15:18:44,077 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2025-03-05 15:18:44,078 INFO util.GSet: Computing capacity for map INodeMap 2025-03-05 15:18:44,078 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:44,078 INFO util.GSet: 1.0% max memory 7.7 GB = 78.3 MB 2025-03-05 15:18:44,078 INFO util.GSet: capacity = 2^23 = 8388608 entries 2025-03-05 15:18:44,088 INFO namenode.FSDirectory: ACLs enabled? true 2025-03-05 15:18:44,088 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2025-03-05 15:18:44,088 INFO namenode.FSDirectory: XAttrs enabled? true 2025-03-05 15:18:44,089 INFO namenode.NameNode: Caching file names occurring more than 10 times 2025-03-05 15:18:44,089 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2025-03-05 15:18:44,089 INFO snapshot.SnapshotManager: SkipList is disabled 2025-03-05 15:18:44,089 INFO util.GSet: Computing capacity for map cachedBlocks 2025-03-05 15:18:44,089 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:44,089 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2025-03-05 15:18:44,089 INFO util.GSet: capacity = 2^21 = 2097152 entries 2025-03-05 15:18:44,092 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2025-03-05 15:18:44,092 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2025-03-05 15:18:44,092 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2025-03-05 15:18:44,092 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2025-03-05 15:18:44,092 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2025-03-05 15:18:44,092 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2025-03-05 15:18:44,092 INFO util.GSet: VM type = 64-bit 2025-03-05 15:18:44,092 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2025-03-05 15:18:44,092 INFO util.GSet: capacity = 2^18 = 262144 entries 2025-03-05 15:18:44,100 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-1/in_use.lock acquired by nodename 534@a2b8f1884f02 2025-03-05 15:18:44,103 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-2/in_use.lock acquired by nodename 534@a2b8f1884f02 2025-03-05 15:18:44,105 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-1/current 2025-03-05 15:18:44,105 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-2/current 2025-03-05 15:18:44,105 INFO namenode.FSImage: No edit log streams selected. 2025-03-05 15:18:44,105 INFO namenode.FSImage: Planning to load image: FSImageFile(file=/hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000, cpktTxId=0000000000000000000) 2025-03-05 15:18:44,120 INFO namenode.FSImageFormatPBINode: Loading 1 INodes. 2025-03-05 15:18:44,121 INFO namenode.FSImageFormatPBINode: Successfully loaded 1 inodes 2025-03-05 15:18:44,124 INFO namenode.FSImageFormatPBINode: Completed update blocks map and name cache, total waiting duration 0ms. 2025-03-05 15:18:44,125 INFO namenode.FSImageFormatProtobuf: Loaded FSImage in 0 seconds. 2025-03-05 15:18:44,125 INFO namenode.FSImage: Loaded image for txid 0 from /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000 2025-03-05 15:18:44,128 INFO namenode.FSNamesystem: Need to save fs image? false (staleImage=false, haEnabled=false, isRollingUpgrade=false) 2025-03-05 15:18:44,128 INFO namenode.FSEditLog: Starting log segment at 1 2025-03-05 15:18:44,142 INFO namenode.NameCache: initialized with 0 entries 0 lookups 2025-03-05 15:18:44,142 INFO namenode.FSNamesystem: Finished loading FSImage in 48 msecs 2025-03-05 15:18:44,241 INFO namenode.NameNode: RPC server is binding to localhost:12222 2025-03-05 15:18:44,241 INFO namenode.NameNode: Enable NameNode state context:false 2025-03-05 15:18:44,247 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2025-03-05 15:18:44,254 INFO ipc.Server: Starting Socket Reader #1 for port 12222 2025-03-05 15:18:44,404 INFO namenode.FSNamesystem: Registered FSNamesystemState, ReplicatedBlocksState and ECBlockGroupsState MBeans. 2025-03-05 15:18:44,418 INFO namenode.LeaseManager: Number of blocks under construction: 0 2025-03-05 15:18:44,425 INFO blockmanagement.DatanodeAdminDefaultMonitor: Initialized the Default Decommission and Maintenance monitor 2025-03-05 15:18:44,428 INFO blockmanagement.BlockManager: initializing replication queues 2025-03-05 15:18:44,428 INFO hdfs.StateChange: STATE* Leaving safe mode after 0 secs 2025-03-05 15:18:44,428 INFO hdfs.StateChange: STATE* Network topology has 0 racks and 0 datanodes 2025-03-05 15:18:44,428 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks 2025-03-05 15:18:44,439 INFO blockmanagement.BlockManager: Total number of blocks = 0 2025-03-05 15:18:44,439 INFO blockmanagement.BlockManager: Number of invalid blocks = 0 2025-03-05 15:18:44,439 INFO blockmanagement.BlockManager: Number of under-replicated blocks = 0 2025-03-05 15:18:44,439 INFO blockmanagement.BlockManager: Number of over-replicated blocks = 0 2025-03-05 15:18:44,439 INFO blockmanagement.BlockManager: Number of blocks being written = 0 2025-03-05 15:18:44,439 INFO hdfs.StateChange: STATE* Replication Queue initialization scan for invalid, over- and under-replicated blocks completed in 11 msec 2025-03-05 15:18:44,456 INFO ipc.Server: IPC Server Responder: starting 2025-03-05 15:18:44,456 INFO ipc.Server: IPC Server listener on 12222: starting 2025-03-05 15:18:44,459 INFO namenode.NameNode: NameNode RPC up at: localhost/127.0.0.1:12222 2025-03-05 15:18:44,462 INFO namenode.FSNamesystem: Starting services required for active state 2025-03-05 15:18:44,462 INFO namenode.FSDirectory: Initializing quota with 12 thread(s) 2025-03-05 15:18:44,466 INFO namenode.FSDirectory: Quota initialization completed in 4 milliseconds name space=1 storage space=0 storage types=RAM_DISK=0, SSD=0, DISK=0, ARCHIVE=0, PROVIDED=0 2025-03-05 15:18:44,471 INFO blockmanagement.CacheReplicationMonitor: Starting CacheReplicationMonitor with interval 30000 milliseconds 2025-03-05 15:18:44,477 INFO hdfs.MiniDFSCluster: Starting DataNode 0 with dfs.datanode.data.dir: [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1,[DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2025-03-05 15:18:44,512 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 2025-03-05 15:18:44,518 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2025-03-05 15:18:44,542 INFO impl.MetricsSystemImpl: DataNode metrics system started (again) 2025-03-05 15:18:44,546 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2025-03-05 15:18:44,548 INFO datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576 2025-03-05 15:18:44,551 INFO datanode.DataNode: Configured hostname is 127.0.0.1 2025-03-05 15:18:44,551 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2025-03-05 15:18:44,554 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0 2025-03-05 15:18:44,558 INFO datanode.DataNode: Opened streaming server at /127.0.0.1:39725 2025-03-05 15:18:44,559 INFO datanode.DataNode: Balancing bandwidth is 104857600 bytes/s 2025-03-05 15:18:44,560 INFO datanode.DataNode: Number threads for balancing is 100 2025-03-05 15:18:44,574 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2025-03-05 15:18:44,574 INFO http.HttpRequestLog: Http request log for http.requests.datanode is not defined 2025-03-05 15:18:44,576 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2025-03-05 15:18:44,577 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context datanode 2025-03-05 15:18:44,577 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2025-03-05 15:18:44,577 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2025-03-05 15:18:44,591 INFO http.HttpServer2: Jetty bound to port 37511 2025-03-05 15:18:44,591 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.24+8-post-Ubuntu-1ubuntu322.04 2025-03-05 15:18:44,592 INFO server.session: DefaultSessionIdManager workerName=node0 2025-03-05 15:18:44,592 INFO server.session: No SessionScavenger set, using defaults 2025-03-05 15:18:44,592 INFO server.session: node0 Scavenging every 660000ms 2025-03-05 15:18:44,593 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@5a8ab2{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2025-03-05 15:18:44,594 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@54db056b{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2025-03-05 15:18:44,600 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@3fba233d{datanode,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode} 2025-03-05 15:18:44,602 INFO server.AbstractConnector: Started ServerConnector@7d78f3d5{HTTP/1.1, (http/1.1)}{localhost:37511} 2025-03-05 15:18:44,602 INFO server.Server: Started @2415ms 2025-03-05 15:18:44,682 WARN web.DatanodeHttpServer: Got null for restCsrfPreventionFilter - will not do any filtering. 2025-03-05 15:18:44,738 INFO web.DatanodeHttpServer: Listening HTTP traffic on /127.0.0.1:39087 2025-03-05 15:18:44,739 INFO datanode.DataNode: dnUserName = clickhouse 2025-03-05 15:18:44,740 INFO datanode.DataNode: supergroup = supergroup 2025-03-05 15:18:44,739 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2025-03-05 15:18:44,749 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2025-03-05 15:18:44,750 INFO ipc.Server: Starting Socket Reader #1 for port 0 2025-03-05 15:18:44,754 INFO datanode.DataNode: Opened IPC server at /127.0.0.1:45451 2025-03-05 15:18:44,774 INFO datanode.DataNode: Refresh request received for nameservices: null 2025-03-05 15:18:44,775 INFO datanode.DataNode: Starting BPOfferServices for nameservices: 2025-03-05 15:18:44,782 INFO datanode.DataNode: Block pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 starting to offer service 2025-03-05 15:18:44,786 INFO ipc.Server: IPC Server Responder: starting 2025-03-05 15:18:44,786 INFO ipc.Server: IPC Server listener on 0: starting 2025-03-05 15:18:45,017 INFO datanode.DataNode: Acknowledging ACTIVE Namenode during handshakeBlock pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 2025-03-05 15:18:45,020 INFO common.Storage: Using 2 threads to upgrade data directories (dfs.datanode.parallel.volumes.load.threads.num=2, dataDirs=2) 2025-03-05 15:18:45,023 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data1/in_use.lock acquired by nodename 534@a2b8f1884f02 2025-03-05 15:18:45,023 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 is not formatted for namespace 1429340093. Formatting... 2025-03-05 15:18:45,024 INFO common.Storage: Generated new storageID DS-b32c3b98-e548-4aba-8860-f22290041294 for directory /hadoop-3.3.1/target/test/data/dfs/data/data1 2025-03-05 15:18:45,030 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data2/in_use.lock acquired by nodename 534@a2b8f1884f02 2025-03-05 15:18:45,030 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 is not formatted for namespace 1429340093. Formatting... 2025-03-05 15:18:45,030 INFO common.Storage: Generated new storageID DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f for directory /hadoop-3.3.1/target/test/data/dfs/data/data2 2025-03-05 15:18:45,062 INFO common.Storage: Analyzing storage directories for bpid BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,062 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,063 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 and block pool id BP-1500019995-172.17.0.2-1741205923364 is not formatted. Formatting ... 2025-03-05 15:18:45,063 INFO common.Storage: Formatting block pool BP-1500019995-172.17.0.2-1741205923364 directory /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1500019995-172.17.0.2-1741205923364/current 2025-03-05 15:18:45,081 INFO common.Storage: Analyzing storage directories for bpid BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,081 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,081 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 and block pool id BP-1500019995-172.17.0.2-1741205923364 is not formatted. Formatting ... 2025-03-05 15:18:45,081 INFO common.Storage: Formatting block pool BP-1500019995-172.17.0.2-1741205923364 directory /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1500019995-172.17.0.2-1741205923364/current 2025-03-05 15:18:45,085 INFO datanode.DataNode: Setting up storage: nsid=1429340093;bpid=BP-1500019995-172.17.0.2-1741205923364;lv=-57;nsInfo=lv=-66;cid=testClusterID;nsid=1429340093;c=1741205923364;bpid=BP-1500019995-172.17.0.2-1741205923364;dnuuid=null 2025-03-05 15:18:45,089 INFO datanode.DataNode: Generated and persisted new Datanode UUID 0edb7101-3c48-4a11-8239-95295a756b3e 2025-03-05 15:18:45,104 INFO impl.FsDatasetImpl: The datanode lock is a read write lock 2025-03-05 15:18:45,104 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2025-03-05 15:18:45,104 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2025-03-05 15:18:45,190 INFO impl.FsDatasetImpl: Added new volume: DS-b32c3b98-e548-4aba-8860-f22290041294 2025-03-05 15:18:45,191 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1, StorageType: DISK 2025-03-05 15:18:45,194 INFO impl.FsDatasetImpl: Added new volume: DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f 2025-03-05 15:18:45,194 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2, StorageType: DISK 2025-03-05 15:18:45,201 INFO impl.MemoryMappableBlockLoader: Initializing cache loader: MemoryMappableBlockLoader. 2025-03-05 15:18:45,205 INFO impl.FsDatasetImpl: Registered FSDatasetState MBean 2025-03-05 15:18:45,209 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2025-03-05 15:18:45,209 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2025-03-05 15:18:45,212 INFO impl.FsDatasetImpl: Adding block pool BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,213 INFO impl.FsDatasetImpl: Scanning block pool BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2025-03-05 15:18:45,213 INFO impl.FsDatasetImpl: Scanning block pool BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2025-03-05 15:18:45,260 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1500019995-172.17.0.2-1741205923364 on /hadoop-3.3.1/target/test/data/dfs/data/data1: 47ms 2025-03-05 15:18:45,260 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1500019995-172.17.0.2-1741205923364 on /hadoop-3.3.1/target/test/data/dfs/data/data2: 47ms 2025-03-05 15:18:45,260 INFO impl.FsDatasetImpl: Total time to scan all replicas for block pool BP-1500019995-172.17.0.2-1741205923364: 48ms 2025-03-05 15:18:45,263 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2025-03-05 15:18:45,263 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2025-03-05 15:18:45,263 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1500019995-172.17.0.2-1741205923364/current/replicas doesn't exist 2025-03-05 15:18:45,263 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1500019995-172.17.0.2-1741205923364/current/replicas doesn't exist 2025-03-05 15:18:45,265 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1: 2ms 2025-03-05 15:18:45,265 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2: 2ms 2025-03-05 15:18:45,266 INFO impl.FsDatasetImpl: Total time to add all replicas to map for block pool BP-1500019995-172.17.0.2-1741205923364: 4ms 2025-03-05 15:18:45,266 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data1 2025-03-05 15:18:45,277 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2025-03-05 15:18:45,279 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data2 2025-03-05 15:18:45,279 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2025-03-05 15:18:45,282 INFO datanode.VolumeScanner: Now scanning bpid BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2025-03-05 15:18:45,282 INFO datanode.VolumeScanner: Now scanning bpid BP-1500019995-172.17.0.2-1741205923364 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2025-03-05 15:18:45,284 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-b32c3b98-e548-4aba-8860-f22290041294): finished scanning block pool BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,284 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f): finished scanning block pool BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,285 WARN datanode.DirectoryScanner: dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value above 1000 ms/sec. Assuming default value of -1 2025-03-05 15:18:45,286 INFO datanode.DirectoryScanner: Periodic Directory Tree Verification scan starting in 9903171ms with interval of 21600000ms and throttle limit of -1ms/s 2025-03-05 15:18:45,293 INFO datanode.DataNode: Block pool BP-1500019995-172.17.0.2-1741205923364 (Datanode Uuid 0edb7101-3c48-4a11-8239-95295a756b3e) service to localhost/127.0.0.1:12222 beginning handshake with NN 2025-03-05 15:18:45,300 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-b32c3b98-e548-4aba-8860-f22290041294): no suitable block pools found to scan. Waiting 1814399982 ms. 2025-03-05 15:18:45,301 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f): no suitable block pools found to scan. Waiting 1814399981 ms. 2025-03-05 15:18:45,313 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2025-03-05 15:18:45,313 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2025-03-05 15:18:45,318 INFO hdfs.StateChange: BLOCK* registerDatanode: from DatanodeRegistration(127.0.0.1:39725, datanodeUuid=0edb7101-3c48-4a11-8239-95295a756b3e, infoPort=39087, infoSecurePort=0, ipcPort=45451, storageInfo=lv=-57;cid=testClusterID;nsid=1429340093;c=1741205923364) storage 0edb7101-3c48-4a11-8239-95295a756b3e 2025-03-05 15:18:45,320 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:39725 2025-03-05 15:18:45,321 INFO blockmanagement.BlockReportLeaseManager: Registered DN 0edb7101-3c48-4a11-8239-95295a756b3e (127.0.0.1:39725). 2025-03-05 15:18:45,328 INFO datanode.DataNode: Block pool BP-1500019995-172.17.0.2-1741205923364 (Datanode Uuid 0edb7101-3c48-4a11-8239-95295a756b3e) service to localhost/127.0.0.1:12222 successfully registered with NN 2025-03-05 15:18:45,329 INFO datanode.DataNode: For namenode localhost/127.0.0.1:12222 using BLOCKREPORT_INTERVAL of 21600000msecs CACHEREPORT_INTERVAL of 10000msecs Initial delay: 0msecs; heartBeatInterval=3000 2025-03-05 15:18:45,350 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-b32c3b98-e548-4aba-8860-f22290041294 for DN 127.0.0.1:39725 2025-03-05 15:18:45,350 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f for DN 127.0.0.1:39725 2025-03-05 15:18:45,385 INFO BlockStateChange: BLOCK* processReport 0xb616e5bdddc20b9d: Processing first storage report for DS-b32c3b98-e548-4aba-8860-f22290041294 from datanode 0edb7101-3c48-4a11-8239-95295a756b3e 2025-03-05 15:18:45,387 INFO BlockStateChange: BLOCK* processReport 0xb616e5bdddc20b9d: from storage DS-b32c3b98-e548-4aba-8860-f22290041294 node DatanodeRegistration(127.0.0.1:39725, datanodeUuid=0edb7101-3c48-4a11-8239-95295a756b3e, infoPort=39087, infoSecurePort=0, ipcPort=45451, storageInfo=lv=-57;cid=testClusterID;nsid=1429340093;c=1741205923364), blocks: 0, hasStaleStorage: true, processing time: 2 msecs, invalidatedBlocks: 0 2025-03-05 15:18:45,387 INFO BlockStateChange: BLOCK* processReport 0xb616e5bdddc20b9d: Processing first storage report for DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f from datanode 0edb7101-3c48-4a11-8239-95295a756b3e 2025-03-05 15:18:45,387 INFO BlockStateChange: BLOCK* processReport 0xb616e5bdddc20b9d: from storage DS-f792f34d-c85e-4cfd-85da-484b9fa24b4f node DatanodeRegistration(127.0.0.1:39725, datanodeUuid=0edb7101-3c48-4a11-8239-95295a756b3e, infoPort=39087, infoSecurePort=0, ipcPort=45451, storageInfo=lv=-57;cid=testClusterID;nsid=1429340093;c=1741205923364), blocks: 0, hasStaleStorage: false, processing time: 0 msecs, invalidatedBlocks: 0 2025-03-05 15:18:45,404 INFO datanode.DataNode: Successfully sent block report 0xb616e5bdddc20b9d to namenode: localhost/127.0.0.1:12222, containing 2 storage report(s), of which we sent 2. The reports had 0 total blocks and used 1 RPC(s). This took 4 msecs to generate and 33 msecs for RPC and NN processing. Got back one command: FinalizeCommand/5. 2025-03-05 15:18:45,405 INFO datanode.DataNode: Got finalize command for block pool BP-1500019995-172.17.0.2-1741205923364 2025-03-05 15:18:45,425 INFO hdfs.MiniDFSCluster: Cluster is active 2025-03-05 15:18:45,430 INFO mapreduce.MiniHadoopClusterManager: Started MiniDFSCluster -- namenode on port 12222